﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Text;

public partial class 系统管理_add_whcd : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        StringBuilder strSql = new StringBuilder();
        strSql.Append("insert into 文化程度表(");
        strSql.Append("name)");
        strSql.Append(" values (");
        strSql.Append("@name)");
        SqlParameter[] parameters = {
					new SqlParameter("@name", SqlDbType.NVarChar,50)};
        parameters[0].Value = this.name.Text;
        DataBase.runExecute(strSql.ToString(), parameters);
        Response.Redirect("list_whcd.aspx");
    }
}
